{
		"version": true,
		"from" : "0", "size" : "1",
		"sort": [{
			"access_time": {
				"order": "desc",
				"unmapped_type": "boolean"
			}
		}],
		"_source":["request_params"],
		"query": {
			"bool": {
				"must": [{
					"query_string": {
						"query": "request_params.vid:@vid",
						"analyze_wildcard": true,
						"default_field": "*"
					}
				}, {
					"match_phrase": {
						"remote_user": {
							"query": @userId
						}
					}
				}]
			}
		}
	}